/*
 * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd.
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *       http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

package com.inspur.edp.component.schema.type.custom;

import com.inspur.edp.caf.cef.schema.datatype.DataType;

import java.util.List;

/**
 * @auther zhouyjtr
 * @date 2022年01月11日
 */
public class CustomType implements DataType {

    private String packageName;
    private String className;
    public static final String KIND = "CmpCustomType";

    public CustomType() {

    }

    public CustomType(String packageName, String className) {
        this.className = className;
        this.packageName = packageName;
    }

    //region base
    @Override
    public String getKind() {
        return KIND;
    }

    @Override
    public List<String> getExtensionKeys() {
        return null;
    }

    @Override
    public String getExtensionValue(String s) {
        return null;
    }
    //endregion


    public String getPackageName() {
        return packageName;
    }

    public void setPackageName(String packageName) {
        this.packageName = packageName;
    }

    public String getClassName() {
        return className;
    }

    public void setClassName(String className) {
        this.className = className;
    }
}
